<{include file="gz/block/header_new.html"}>

<!-- Main -->
			<div id="main">

	<!-- One -->
					<section id="one">
						<header class="major">
							<h2><a name="1F"><{$detail.name}>De装修工坊</a></h2>
						</header>
						
						<p>所在地区：<{$detail.city_name}><{$detail.area_name}><br>
                           服务理念：<{$detail.slogan}></p><br>
                        <h2>工长简介:</h2>
                        <p><{$detail.about|strip_tags|cutstr:300:'...'}></p>
						<ul class="actions">
							<li><a href="#" class="button" name="2F">……</a></li>
						</ul>
					</section>

	<!-- Two -->
              
		<section id="two" >
			<h2><a name="2F">工程案例</a></h2>
			<div class="row">
				<{foreach $case_list as $item}>
				 
				 <article<{if $item@index%3 == 0}> class="anli"<{/if}> >
				
                    <a href="<{link ctl='case:detail' arg0=$item.case_id}>"  class="image fit thumb"><img src="<{$pager.img}>/<{$item.photo}>" /></a>
					<h3 style="text-align:center;padding-top:5px"><{$item.title}></h3>
                   
                  
                 <p style="text-align:center">
				    <span><a href="<{link ctl='gz:yuyue' arg0=$detail.gz_id http='ajax'}>" mini-width='500' mini-load="委托施工"><img src="http://www.zjzs.com.cn/themes/default/blog/images/weituo.png" alt="" /></a></span><br>
                    <span><font class="index_ico like_ico"></font><{$item.likes}>人喜欢</span>
                    <span><font class="index_ico person_ico"></font><{$item.views}>人已浏览 </span>
                </p>
     
			    </article>
            <{/foreach}>							
			</div>
				<ul class="actions" style="margin-top:30px">
					<li><a href="<{link ctl='gz:cases' arg0=$detail.gz_id}>" class="button" name="3F">更多案例…</a></li>
				</ul>
		</section>

				<!-- Three -->
					<section id="three">
						<h2 ><a name="3F">在建工地</a></h2>
					<div class="mb10">
						<div class="foreman_site">
                <p class="foreman_site_tit"><span>图示</span><span>地区</span><span>小区名</span><span>面积</span><span>预算</span><span>预约</span></p>
                    <div class="foreman_site_box">
                        <ul>
                            <{foreach $site_list as $item}>
                            <li>
                                <span><img src="<{$pager.img}>/<{$item.thumb}>" /></span><span><{$item.city_name}></span><span><{$item.home_name}></span><span> <{$item.house_mj}>㎡ </span><span><{$item.price}>万</span><span><a href="<{link ctl='site:detail'  arg1=$item.site_id}>"  class="fontcl2">预约</a></span>
                            </li>
                            <{/foreach}>
                        </ul>
                    </div>
				  </div>
					</section>

				<!-- Four -->
				<section>
					<h2><a name="4F">客户评价</a></h2>
					<div class="row">
						<div class="6u 12u$(xsmall)">
							<div class="pingjia_box pding">
			                  <h3>我要评价</h3>
			                  <div class="cl"></div>
 						<form action="/index.php?gz-commentsSign.html" mini-form="comment" method="post" class="pinglun">
                        <input type="hidden" name="uid" value="<{$detail.uid}>" />
                        <{foreach $CONFIG.score.gz as $k=>$v}>
                        <{if $v}>
                        <span  class="pf"><{$v}>：<input type="hidden" name="data[<{$k}>]" id="comment-<{$k}>" value="3" /><b comment-score="<{$k}>" data-score="3"></b></span>
                        <{/if}>
                        <{/foreach}>
                        <textarea class="text" name="data[content]" placeholder="您的点评..."></textarea>
                        <{if $CONFIG.access.verifycode.comment}>
                            验证码:<input class="text short" type="text" name="verifycode" placeholder="请输入验证码"/>
                            <img verify="#pass-verify" src="<{link ctl='magic:verify' http='ajax'}>&_=<{$pager.dateline}>" id="pass-verify"/>                               
                        <{/if}>
                        <input type="submit" value="发表评论" class="text btn rt pinglun_btn" />
                        <div class="cl"></div>
                    </form>


		                     </div>
							 <div class="new_pinglun disigner_pinglun mb10">
							<ul>                 
                              <{foreach $comment_list as $item}>
        	                  <li>
                               <div class="lt">
                               <img src="<{$pager.img}>/<{$member_list[$item.uid].face}>" class="lt" /><br />
                               <{$member_list[$item.uid].uname|cutstr:6:''}>
                               </div>
                               <div class="rt">
                                <p class="graycl">
                                <span class="lt"><{foreach $CONFIG.score.detail as $k=>$v}><{$v}>：<{$item[$k]}>&nbsp;&nbsp;&nbsp;<{/foreach}></span>
                                <span class="rt"><{$item.dateline|format}></span>
                                </p>
                                <p><{if $item.audit}><{$item.content}><{else}><p class="tips"><span class="lock">该评论正在审核中</span></p><{/if}></p>
                               </div>
                              </li>
                              <{/foreach}>
		                    </ul></div>
						</div>
<script type="text/javascript" src="http://www.zjzs.com.cn/static/script/cloud-zoom.js"></script>
<script type="text/javascript" src="http://www.zjzs.com.cn/static/script/raty/jquery.raty.js"></script>
<script type="text/javascript">
(function(K, $){
	$('b[comment-score]').raty({
		path: "http://www.zjzs.com.cn/static/script/raty/img/",
		score: function() {return $(this).attr('data-score');},
		hints: ["差","还行","好","很好","非常好"],
		click: function(score, evt) {$("#comment-"+$(this).attr("comment-score")).val(score);}
	});
    $("[verify]").click(function(){
        $($(this).attr("verify")).attr("src", "http://www.zjzs.com.cn/index.php?magic-verify.html&_"+Math.random());
    });
})(window.KT, window.jQuery);
</script>
		<div class="sub_designer_top_rt pingfen_bar " style="margin-left:20px; margin-top:0px">
			<h5>综合评价：<{$detail.avg_score}></h5>									
			<{foreach $CONFIG.score.gz as $k=>$v}>
           <p><{$v}>：<span class="bar probar_gray"><span class="bar probar_color bar2" style="width:<{$detail.avg_scores[$k]*20}>%"></span></span><{sprintf("%.2f",$detail.avg_scores[$k])}></p>
            <{/foreach}>

			
            	
		</div>
	</div>
	</section>
</section>
</div>
</body>
</html>